﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MaterialView.aspx.cs" Inherits="BySoft.Web.Site.MasteData.MaterialView  "
    MasterPageFile="~/MastePage/SubEmptyMaster.master" %>

<%@ MasterType VirtualPath="~/MastePage/SubEmptyMaster.master" %>
<%@ Register Assembly="OneSoft.Web" Namespace="OneSoft.Web.UI.WebControls" TagPrefix="asp" %>
<%@ Register Assembly="BySoft.Web.Controls" Namespace="BySoft.Web.Controls" TagPrefix="cc1" %>
<asp:Content ID="cphHeadContent" runat="server" ContentPlaceHolderID="HeadPlace">
    <script language="javascript" type="text/javascript"> $(function () {
     $("#tabs").tabs({ show: function (event, ui) { iframeAutoFit(); } });
 })</script>
</asp:Content>
<asp:Content ID="cphContent" runat="server" ContentPlaceHolderID="EmptyMasteCPH">

    <h1 class="tit">基础资料 >> <a href="MaterialList.aspx">原料资料 >></a> 查看</h1>
    <br />
    <div class="tableStyle2">
        <table border="0" cellspacing="0" cellpadding="0" style="text-align: left; width: 100%" id="tBase" runat="server">

            <tr>
                <th class="left2">类型/小类：
                </th>
                <td class="right2">
                    <asp:DropDownList Enabled="false" CssClass="ddlwidth" ID="ddlMatTypeID" runat="server"></asp:DropDownList>
                    <asp:DropDownList Enabled="false" CssClass="ddlwidth" ID="ddlMatSmallTypeID" runat="server"></asp:DropDownList>

                </td>
                <th class="left2">是否直接材料：
                </th>
                <td class="right2">
                    <asp:CheckBox ID="chkIsDirect" CssClass="ddlwidth" runat="server" Enabled="false" AutoPostBack="true"></asp:CheckBox>
                    <br />
                    <asp:Label ID="lblDirect" runat="server">注：直接材料－长度、外径必填，间接材料－规格必填。</asp:Label>
                </td>

            </tr>

            <tr>

                <th class="left2">原料编号：
                </th>
                <td class="right2">
                    <asp:Label CssClass="fullWidth" ID="lblMaterialID" runat="server"></asp:Label>
                </td>
                <th class="left2">原料名称：
                </th>
                <td class="right2">
                    <asp:Label CssClass="fullWidth" ID="lblMaterialName" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>

                <th class="left2">规格：
                </th>
                <td class="right2">
                    <asp:Label CssClass="fullWidth" ID="lblSpecifications" runat="server"></asp:Label>

                </td>
                <th class="left2">单位：
                </th>
                <td class="right2">
                    <asp:Label CssClass="fullWidth" ID="lblUnit" runat="server" Text=""></asp:Label>
                </td>
            </tr>


            <tr>
                <th class="left2">长：
                </th>
                <td class="right2">
                    <asp:Label CssClass="fullWidth" ID="lblLong" runat="server"></asp:Label>
                </td>
                <th class="left2">宽：
                </th>
                <td class="right2">
                    <asp:Label CssClass="fullWidth" ID="lblWidth" runat="server"></asp:Label>
                </td>
            </tr>


            <tr>
                <th class="left2">高：
                </th>
                <td class="right2">
                    <asp:Label CssClass="fullWidth" ID="lblHeight" runat="server"></asp:Label>
                </td>
                 <th class="left2">
                </th>
                <td class="right2">
                   
                </td>
            </tr>

            <tr>
                <th class="left2">外径：
                </th>
                <td class="right2">
                    <asp:Label CssClass="fullWidth" ID="lblOutSide" runat="server"></asp:Label>
                 </td>
                  <th class="left2">内径：
                </th>
                <td class="right2">
                    <asp:Label CssClass="fullWidth" ID="lblInSide" runat="server"></asp:Label>
                </td>
            </tr>

            <tr>
                <th class="left2">每米重量：
                </th>
                <td class="right2">
                    <asp:Label CssClass="fullWidth" ID="lblMeterWeight" runat="server"></asp:Label>
                </td>
                <th class="left2">每件几mm：
                </th>
                <td class="right2">
                    <asp:Label CssClass="fullWidth" ID="lblMMNumber" runat="server"></asp:Label>
                </td>
            </tr>


            <tr>

                <th class="left2">安全库存：
                </th>
                <td class="right2">
                    <asp:Label CssClass="fullWidth" ID="lblSafeStock" runat="server"></asp:Label>

                </td>
                <th class="left2">到货周期：
                </th>
                <td class="right2">
                    <asp:Label CssClass="fullWidth" ID="lblArrivalCycle" runat="server"></asp:Label>
                    天
                </td>
            </tr>


            <tr>
                
                <th class="left2">最小订货量：
                </th>
                <td class="right2">
                    <asp:Label ID="lblMinOrderNum" CssClass="fullWidth" runat="server"></asp:Label>
                </td>  
                <th></th>
                <td></td>
                <%--<th class="left2">状态：
                </th>
                <td class="right2">
                     <asp:DropDownList CssClass="fullHeight" ID="ddlMaterialStatus" runat="server" Enabled="false"></asp:DropDownList>
                </td>--%>
            </tr>
           
        </table>
    </div>
    <div class="tableStyle">
        <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs">
            <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
                <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tabs-1">附档</a></li>
            </ul>

            <div id="tabs-1" class="tableStyle ui-tabs-panel ui-widget-content ui-corner-bottom">
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <div style="width: 100%; padding-bottom: 10px">
                            <asp:ListBox ID="lstFile" runat="server" Height="35px" Width="70%"></asp:ListBox>

                            <label class="btnStylec png_bg">
                                <asp:Button ID="btnRead" runat="server" Text="查看" OnClick="btnRead_Click" /></label>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
        </div>
    </div>

    <div class="controlBar" align="center">
        <table cellpadding="0" cellspacing="0" style="width: 300px; margin: 0 auto;">
            <tr>
                <td colspan="4">
                    <label class="btnStylec png_bg">
                        <input type="button" id="Button2" value="返回" runat="server" onclick="window.location = 'MaterialList.aspx'" />
                    </label>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

